﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Shop.Master" AutoEventWireup="true" CodeBehind="ListaProdutos.aspx.cs" Inherits="ShopNet.ListaProdutos" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="main" runat="server">

<div id="content_top"></div>
    <div id="content_middle">
        <h3>Produtos <asp:Literal ID="lDescricaoCategoria" runat="server"></asp:Literal> </h3>
        <p><asp:DropDownList ID="ddlSubCategoria" runat="server"  AutoPostBack="true" OnSelectedIndexChanged="ddlCategoria_Selected">
        </asp:DropDownList></p>
        <p>&nbsp;</p>
        <asp:PlaceHolder ID="phProdutos" runat="server"></asp:PlaceHolder>
    </div>
<div id="content_bottom">
    
</div>
<asp:Panel ID="pages_panel" runat="server">
<div id="pages_top"></div>
<div id="pages">   
       <asp:Repeater ID="rPagina" runat="server">
       <HeaderTemplate><ul></HeaderTemplate>
       <ItemTemplate><li class='<%#int.Parse(Eval("Value").ToString())==Master.PaginaAtual?"current":"" %>'><a href='ListaProdutos.aspx?IdCategoria=<%=IdCategoria %>&Pagina=<%#Eval("Value") %>'><%#Eval("Value") %></a></li>
       </ItemTemplate>
       <FooterTemplate></ul></FooterTemplate>
       </asp:Repeater>
</div>
<div id="pages_bottom"></div>
</asp:Panel>
</asp:Content>
